import request from './request.js';

const api = {
	login: '/http/user/login',
	enroll: '/http/user/reg',
	sendSms: '/http/user/sendSms',
}
export const loginApi = (e) => request.post(api.login,e)
export const enrollApi = (e) => request.post(api.enroll,e)
export const sendSms = (e) => request.post(api.sendSms,e)
export const del = (e)=>request.post('/http/user/delete_user',e);
export const getuserInfoAPI = (params)=>request.get('/http/user/getuserInfo',{params});
export const editUserInfo = (e)=>request.post('/http/user/editUserInfo',e);
